/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package Families.impl;

import Families.FamiliesPackage;
import Families.Family;
import Families.Member;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Member</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link Families.impl.MemberImpl#getFirstName <em>First Name</em>}</li>
 *   <li>{@link Families.impl.MemberImpl#getFamilyFather <em>Family Father</em>}</li>
 *   <li>{@link Families.impl.MemberImpl#getFamilyMother <em>Family Mother</em>}</li>
 *   <li>{@link Families.impl.MemberImpl#getFamilySon <em>Family Son</em>}</li>
 *   <li>{@link Families.impl.MemberImpl#getFamilyDaughter <em>Family Daughter</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class MemberImpl extends CDOObjectImpl implements Member {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected MemberImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return FamiliesPackage.Literals.MEMBER;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getFirstName() {
		return (String)eGet(FamiliesPackage.Literals.MEMBER__FIRST_NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setFirstName(String newFirstName) {
		eSet(FamiliesPackage.Literals.MEMBER__FIRST_NAME, newFirstName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Family getFamilyFather() {
		return (Family)eGet(FamiliesPackage.Literals.MEMBER__FAMILY_FATHER, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setFamilyFather(Family newFamilyFather) {
		eSet(FamiliesPackage.Literals.MEMBER__FAMILY_FATHER, newFamilyFather);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Family getFamilyMother() {
		return (Family)eGet(FamiliesPackage.Literals.MEMBER__FAMILY_MOTHER, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setFamilyMother(Family newFamilyMother) {
		eSet(FamiliesPackage.Literals.MEMBER__FAMILY_MOTHER, newFamilyMother);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Family getFamilySon() {
		return (Family)eGet(FamiliesPackage.Literals.MEMBER__FAMILY_SON, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setFamilySon(Family newFamilySon) {
		eSet(FamiliesPackage.Literals.MEMBER__FAMILY_SON, newFamilySon);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Family getFamilyDaughter() {
		return (Family)eGet(FamiliesPackage.Literals.MEMBER__FAMILY_DAUGHTER, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setFamilyDaughter(Family newFamilyDaughter) {
		eSet(FamiliesPackage.Literals.MEMBER__FAMILY_DAUGHTER, newFamilyDaughter);
	}

} //MemberImpl
